/*******************************************************************************
 * @project: CDMS_12
 * @package: com.esoon.cdms.model
 * @file: BuildListModel.java
 * @author: Administrator
 * @created: 2017-6-23
 * @purpose:
 * 
 * @version: 1.0
 * 
 * Revision History at the end of file.
 * 
 * Copyright 2017 AcconSys All rights reserved.
 ******************************************************************************/

package com.esoon.cdms.model;

import com.mentor.chs.api.IXBuildList;

public class BuildListModel {
	private IXBuildList buildList;
	private String name;
	private String type;
	private String description;

	public BuildListModel() {
	}

	public BuildListModel(IXBuildList buildList) {
		this.setName(buildList.getAttribute("Name"));
		this.setType(buildList.getAttribute("Type"));
		this.setDescription(buildList.getAttribute("Description"));
	}

	public IXBuildList getBuildList() {
		return buildList;
	}

	public void setBuildList(IXBuildList buildList) {
		this.buildList = buildList;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}

/*******************************************************************************
 * <B>Revision History</B><BR>
 * [type 'revision' and press Alt + / to insert revision block]<BR>
 * 
 * 
 * 
 * Copyright 2017 AcconSys All rights reserved.
 ******************************************************************************/
